package com.teemor.spring.boot.start.config;

import com.teemor.spring.boot.start.Formatter;
import com.teemor.spring.boot.start.impl.JsonFormatter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @author zhoulk
 * @date: 2020/1/13
 */
@Configuration
public class Config {
    @Bean(name = "fmt")
    public Formatter defaultFormatter() {
        return new JsonFormatter();
    }
}
